#!/bin/sh
set -e

sudo apt-get update -qq

if [ "$QT_SELECT" = "qt4" ]; then
    sudo apt-get install -qq libqt4-dev
else
    sudo apt-get install -qq qtbase5-dev
fi

case "$CONFIG" in
full*)
    sudo apt-get install -qq  doxygen libopus-dev libspeex-dev libtheora-dev libvpx-dev
    ;;
esac
